package com.project.bean.ExpertConsultation;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;

//专家实体
@TableName("expert_info")
public class ExpertBean {

    @TableId(value = "expert_id",type = IdType.AUTO)
    private Integer expertId;	//专家编号
    @TableField("expert_name")
    private String expertName;	//专家姓名(名称)
    @TableField("expert_gender")
    private String expertGender;	//专家性别
    @TableField("expert_birth")
    private LocalDate expertBirth;	//专家出生日期
    @TableField("expert_headpic")
    private String expertHeadpic;	//专家照片
    @TableField("expert_unit")
    private String expertUnit;	//工作单位
    @TableField("expert_specialty")
    private String expertSpecialty;	//专长
    @TableField("expert_job")
    private String expertJob;	//职务
    @TableField("expert_tel")
    private String expertTel;	//电话
    @TableField("expert_address")
    private String expertAddress;	//通讯地址
    @TableField("expert_email")
    private String expertEmail;	//邮箱

    public ExpertBean() {
    }

    public ExpertBean(String expertName, String expertGender, LocalDate expertBirth, String expertHeadpic, String expertUnit, String expertSpecialty, String expertJob, String expertTel, String expertAddress, String expertEmail) {
        this.expertName = expertName;
        this.expertGender = expertGender;
        this.expertBirth = expertBirth;
        this.expertHeadpic = expertHeadpic;
        this.expertUnit = expertUnit;
        this.expertSpecialty = expertSpecialty;
        this.expertJob = expertJob;
        this.expertTel = expertTel;
        this.expertAddress = expertAddress;
        this.expertEmail = expertEmail;
    }

    public ExpertBean(Integer expertId, String expertName, String expertGender, LocalDate expertBirth, String expertHeadpic, String expertUnit, String expertSpecialty, String expertJob, String expertTel, String expertAddress, String expertEmail) {
        this.expertId = expertId;
        this.expertName = expertName;
        this.expertGender = expertGender;
        this.expertBirth = expertBirth;
        this.expertHeadpic = expertHeadpic;
        this.expertUnit = expertUnit;
        this.expertSpecialty = expertSpecialty;
        this.expertJob = expertJob;
        this.expertTel = expertTel;
        this.expertAddress = expertAddress;
        this.expertEmail = expertEmail;
    }

    public Integer getExpertId() {
        return expertId;
    }

    public void setExpertId(Integer expertId) {
        this.expertId = expertId;
    }

    public String getExpertName() {
        return expertName;
    }

    public void setExpertName(String expertName) {
        this.expertName = expertName;
    }

    public String getExpertGender() {
        return expertGender;
    }

    public void setExpertGender(String expertGender) {
        this.expertGender = expertGender;
    }

    public LocalDate getExpertBirth() {
        return expertBirth;
    }

    public void setExpertBirth(LocalDate expertBirth) {
        this.expertBirth = expertBirth;
    }

    public String getExpertHeadpic() {
        return expertHeadpic;
    }

    public void setExpertHeadpic(String expertHeadpic) {
        this.expertHeadpic = expertHeadpic;
    }

    public String getExpertUnit() {
        return expertUnit;
    }

    public void setExpertUnit(String expertUnit) {
        this.expertUnit = expertUnit;
    }

    public String getExpertSpecialty() {
        return expertSpecialty;
    }

    public void setExpertSpecialty(String expertSpecialty) {
        this.expertSpecialty = expertSpecialty;
    }

    public String getExpertJob() {
        return expertJob;
    }

    public void setExpertJob(String expertJob) {
        this.expertJob = expertJob;
    }

    public String getExpertTel() {
        return expertTel;
    }

    public void setExpertTel(String expertTel) {
        this.expertTel = expertTel;
    }

    public String getExpertAddress() {
        return expertAddress;
    }

    public void setExpertAddress(String expertAddress) {
        this.expertAddress = expertAddress;
    }

    public String getExpertEmail() {
        return expertEmail;
    }

    public void setExpertEmail(String expertEmail) {
        this.expertEmail = expertEmail;
    }


    @Override
    public String toString() {
        return "ExpertBean{" +
                "expertId=" + expertId +
                ", expertName='" + expertName + '\'' +
                ", expertGender='" + expertGender + '\'' +
                ", expertBirth=" + expertBirth +
                ", expertHeadpic='" + expertHeadpic + '\'' +
                ", expertUnit='" + expertUnit + '\'' +
                ", expertSpecialty='" + expertSpecialty + '\'' +
                ", expertJob='" + expertJob + '\'' +
                ", expertTel='" + expertTel + '\'' +
                ", expertAddress='" + expertAddress + '\'' +
                ", expertEmail='" + expertEmail + '\'' +
                '}';
    }
}
